package com.iotechn.unimall.data.mapper;

import com.iotechn.unimall.data.domain.SeckillSkuDO;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.iotechn.unimall.data.dto.seckill.SeckillSkuDTO;
import com.iotechn.unimall.data.dto.goods.GroupShopSkuDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 
 * 
 * @author hct
 * @email 77802226@qq.com
 * @date 2020-03-21 17:27:09
 */
public interface SeckillSkuMapper extends BaseMapper<SeckillSkuDO> {
    public List<SeckillSkuDTO> getSkuList(Long seckillSpuId);

    public  SeckillSkuDO selectByskuIdAndseckillSpuId(Long seckillSpuId,Long skuId);

    public List<SeckillSkuDTO> selectSeckillSkuList(Long seckillSpuId);

    public List<Long> getSeckillSkuIdList(@Param("seckillSpuId") Long seckillSpuId);

}
